How to solve second order PDE